package sicnu.cs.aps.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * description TeamPlanDto
 *
 * @author chenhetao
 * @version 1.0
 * @className TeamPlanDto
 * @packageName sicnu.cs.aps.domain.dto
 * @date 2022/6/6 11:15
 */
@With
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TeamPlanDto implements Serializable {

    private static final long serialVersionUID = 6083289439731270288L;

    /**
     * teamId
     */
    private Long teamId;

    /**
     * 用户id
     */
    @TableId(type = IdType.INPUT)
    private Long id;
    /**
     * 活动预计开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planStartTime;
    /**
     * 活动预计结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planEndTime;
    /**
     * 策划填写时间
     */
    private Date time;
    /**
     * 策划内容
     */
    private String planContent;
    /**
     * 策划附件的uri
     */
    private String uri;
    /**
     * 活动的id
     */
    private Long activityId;
}
